package com.salary.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("configInfo")
public class ConfigInfo {
	@Value(value = "${email.server.host}")
	private String emailServerHost;
	@Value(value = "${email.server.transport}")
	private String emailServerTransport;
	@Value(value = "${email.server.port}")
	private String emailServerPort;
	@Value(value = "${email.server.from}")
	private String emailServerFrom;
	@Value(value = "${email.server.pwd}")
	private String emailServerPWD;
	@Value(value = "${emmil.server,timeout}")
	private String emailServerTimeout;
	@Value(value = "${email.activate.uri}")
	private String emailActivateUri;
	@Value(value = "${email.reset.pwd.uri}")
	private String emailResetPWDUri;
	@Value(value = "${email.context.path}")
	private String emailContextPath;
	@Value(value = "${email.server.path}")
	private String emailServerPath;

	public String getEmailServerHost() {
		return emailServerHost;
	}

	public void setEmailServerHost(String emailServerHost) {
		this.emailServerHost = emailServerHost;
	}

	public String getEmailServerTransport() {
		return emailServerTransport;
	}

	public void setEmailServerTransport(String emailServerTransport) {
		this.emailServerTransport = emailServerTransport;
	}

	public String getEmailServerPort() {
		return emailServerPort;
	}

	public void setEmailServerPort(String emailServerPort) {
		this.emailServerPort = emailServerPort;
	}

	public String getEmailServerFrom() {
		return emailServerFrom;
	}

	public void setEmailServerFrom(String emailServerFrom) {
		this.emailServerFrom = emailServerFrom;
	}

	public String getEmailServerPWD() {
		return emailServerPWD;
	}

	public void setEmailServerPWD(String emailServerPWD) {
		this.emailServerPWD = emailServerPWD;
	}

	public String getEmailServerTimeout() {
		return emailServerTimeout;
	}

	public void setEmailServerTimeout(String emailServerTimeout) {
		this.emailServerTimeout = emailServerTimeout;
	}

	public String getEmailActivateUri() {
		return emailActivateUri;
	}

	public void setEmailActivateUri(String emailActivateUri) {
		this.emailActivateUri = emailActivateUri;
	}

	public String getEmailResetPWDUri() {
		return emailResetPWDUri;
	}

	public void setEmailResetPWDUri(String emailResetPWDUri) {
		this.emailResetPWDUri = emailResetPWDUri;
	}

	public String getEmailContextPath() {
		return emailContextPath;
	}

	public void setEmailContextPath(String emailContextPath) {
		this.emailContextPath = emailContextPath;
	}

	public String getEmailServerPath() {
		return emailServerPath;
	}

	public void setEmailServerPath(String emailServerPath) {
		this.emailServerPath = emailServerPath;
	}

}
